import "package:flutter/material.dart";

// https://github.com/penghuaijie/calendar
import '../../../widget/calendar2/calendar_page.dart'; // 酒店日期选择

class CalendarPage2 extends StatelessWidget {
    final String text;
    
    CalendarPage2({Key key, this.text}) : super(key: key);
    
    @override
    Widget build(BuildContext context) {
        return Scaffold(
            appBar: PreferredSize(
                preferredSize: Size.fromHeight(36.0),
                child: AppBar(
                    centerTitle: true,
                    elevation: 0.5,
                    titleSpacing: 0.0,
                    title: Text(text),
                ),
            ),
            body: CalendarPage()
        );
    }
}
